// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import VideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
import 'videojs-flash'
//import 'videojs-contrib-hls'
const hls = require('videojs-contrib-hls')
Vue.use(hls)

Vue.prototype.$axios = axios
Vue.config.productionTip = false
Vue.use(VideoPlayer)
Vue.use(hls)
// require('videojs-contrib-hls/dist/videojs-contrib-hls.js')

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
